#ifndef SYS_CLOCK_H
#define SYS_CLOCK_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

int64_t esp_uptime_get_ms(void);
int64_t esp_uptime_get_us(void);
int64_t esp_uptime_delta_ms(int64_t *reftime);
int64_t esp_uptime_delta_us(int64_t *reftime);

#ifdef __cplusplus
}
#endif

#endif /* SYS_CLOCK_H */
